Skip to content

feat(stovepipe): record analysis and repair history - #995

Merged
mnoah1 merged 4 commits into
mainfrom
mnoah1/stovepipe-request-history-events
Nov 4, 2026
Merged

mnoah1 merged 4 commits into
mainfrom
mnoah1/stovepipe-request-history-events

Conversation

@mnoah1

@mnoah1 mnoah1 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Why?

Stovepipe request history does not show when terminal issue analysis or reconciliation finishes, or whether repair work was submitted, skipped, or abandoned.

What?

  • Add build_analysis_completed, issues_reconciled, fix_submitted, fix_submission_skipped, and fix_submission_abandoned; preserve the existing issue_tracking_abandoned event and recovery behavior.
  • Retain history idempotently and repair missing entries from durable fix associations and completed reconciliation checkpoints. Register fix recovery without submitting more repair work or changing validation outcomes.
  • Cover retries, closure suppression, uncertain external acceptance, long fix IDs, and server registration.
  • Record analysis completion only for the recorded winning terminal build; retain the first completion's issue count and timestamp across retries, including changed detector results and concurrent deliveries.

Test Plan

For local exercise, run make local-stovepipe-start. The reference service uses no-op issue detection and repair execution; external repair acceptance requires a deployment-supplied executor and was not exercised manually.

Passed eight focused Bazel suites covering build analysis, fix submission, issue tracking, request-log materialization, entities, build signals, recording, and server registration; formatting, lint, tidy, and Gazelle checks also passed.

The full repository build and all 184 unit/web test targets also passed.

Review revision: seven focused Bazel suites passed, including the build-analysis pipeline; formatting, lint, tidy, and Gazelle checks passed. Regression cases cover held passes, history and publication failures, changed counts, concurrent completion, uncertain writes, and identity conflicts.

Revert Plan

Revert this PR; no schema changes are required.

Summary:
## Why?

Stovepipe request history does not show when terminal issue analysis or reconciliation finishes, or whether repair work was submitted, skipped, or abandoned.

## What?

- Add `build_analysis_completed`, `issues_reconciled`, `fix_submitted`, `fix_submission_skipped`, and `fix_submission_abandoned`; preserve the existing `issue_tracking_abandoned` event and recovery behavior.
- Retain history idempotently and repair missing entries from durable fix associations and completed reconciliation checkpoints. Register fix recovery without submitting more repair work or changing validation outcomes.
- Cover retries, closure suppression, uncertain external acceptance, long fix IDs, and server registration.

Test Plan:
For local exercise, run `make local-stovepipe-start`. The reference service uses no-op issue detection and repair execution; external repair acceptance requires a deployment-supplied executor and was not exercised manually.
@mnoah1
mnoah1 marked this pull request as ready for review October 30, 2026 18:43
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners October 30, 2026 18:43
@mnoah1
mnoah1 enabled auto-merge October 30, 2026 19:41
@mnoah1
mnoah1 requested a review from roychying November 4, 2026 16:27
@mnoah1
mnoah1 added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit e0cae6b Nov 4, 2026
50 of 55 checks passed
@mnoah1
mnoah1 deleted the mnoah1/stovepipe-request-history-events branch November 4, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants